﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyVideoPlayer.Models
{
    /// <summary>
    /// 屏幕信息
    /// </summary>
    public partial class ScreenInfo : ObservableObject
    {
        /// <summary>
        /// 屏幕名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 窗口左坐标
        /// </summary>
        public double Left { get; set; }
        /// <summary>
        /// 窗口右坐标
        /// </summary>
        public double Top { get; set; }
        /// <summary>
        /// 屏幕高度
        /// </summary>
        public double Height { get; set; }
        /// <summary>
        /// 屏幕宽度
        /// </summary>
        public double Width { get; set; }
        /// <summary>
        /// 是否是主屏
        /// </summary>
        public bool IsPrimary { get; set; }
        /// <summary>
        /// 是否显示窗口
        /// </summary>
        [ObservableProperty]
        public bool isShowed;
        /// <summary>
        /// 是否自动开启
        /// </summary>
        [ObservableProperty]
        public bool isAutoShowed;
    }
}
